package com.stu.student_back_end.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stu.student_back_end.entity.TblBuilding;
import org.apache.ibatis.annotations.*;

/**
 * 楼栋mapper层接口
 */
@Mapper
public interface TblBuildingMapper extends BaseMapper<TblBuilding> {

    //查询楼栋数
    @Select("select count(*) from tbl_building")
    int queryBuildingCount();
}
